package com.ruoyi.project.seeDoctor.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import io.swagger.models.auth.In;

import java.util.Objects;
//挂号费
public class SysRegistrationCost extends BaseEntity {
    private Integer reg_id;
    private String reg_name;
    private Double reg_price;
    private Integer status;

    @Override
    public String toString() {
        return "SysRegistrationCost{" +
                "reg_id=" + reg_id +
                ", reg_name='" + reg_name + '\'' +
                ", reg_price=" + reg_price +
                ", status=" + status +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SysRegistrationCost that = (SysRegistrationCost) o;
        return Objects.equals(reg_id, that.reg_id) &&
                Objects.equals(reg_name, that.reg_name) &&
                Objects.equals(reg_price, that.reg_price) &&
                Objects.equals(status, that.status);
    }

    @Override
    public int hashCode() {
        return Objects.hash(reg_id, reg_name, reg_price, status);
    }

    public Integer getReg_id() {
        return reg_id;
    }

    public void setReg_id(Integer reg_id) {
        this.reg_id = reg_id;
    }

    public String getReg_name() {
        return reg_name;
    }

    public void setReg_name(String reg_name) {
        this.reg_name = reg_name;
    }

    public Double getReg_price() {
        return reg_price;
    }

    public void setReg_price(Double reg_price) {
        this.reg_price = reg_price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public SysRegistrationCost() {
    }

    public SysRegistrationCost(Integer reg_id, String reg_name, Double reg_price, Integer status) {
        this.reg_id = reg_id;
        this.reg_name = reg_name;
        this.reg_price = reg_price;
        this.status = status;
    }
}
